home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
How Would You Survive?
/
How Would You Survive (1995)(Grolier)[Mac-PC].iso
/
mac
/
FQUIT.DIR
/
00038_Script_38
< prev
next >
Wrap
Text File
|
1995-09-06
|
974b
|
49 lines
global gOBtn1, gOBtn2, gNewMarker, gWhatMovie, ogame, ogameControl, ogamelast
on SetUpQuitButtons
set gOBtn1 = birth(script "a2StateButton", 10, 15, "FeatureButSplClk.AIFF", "Resume", "HandCursor")
set gOBtn2 = birth(script "a2StateButton", 11, 17, "FeatureButSplClk.AIFF", "FinalQuit", "HandCursor")
end
on QuitRollovers
if objectP(gOBtn1) then
Hilight(gOBtn1)
end if
if objectP(gOBtn2) then
Hilight(gOBtn2)
end if
end
on KillQuitButtons
if objectP(gOBtn1) then
hidecontrol(gOBtn1)
set gOBtn1 = 0
end if
if objectP(gOBtn2) then
hidecontrol(gOBtn2)
set gOBtn2 = 0
end if
end
on Resume
turnoffpuppets
go frame gNewMarker of movie gWhatMovie
abort
end
on FinalQuit
KillQuestion
if objectP(ogame) then
set oGame = 0
end if
if objectP(ogameControl) then
set ogameControl = 0
end if
if objectP(ogamelast) then
set ogamelast = 0
end if
quit
end